package com.cw.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.alibaba.excel.annotation.ExcelProperty;

/**
 * @author ly
 * @since 2021-09-07
 */
@ApiModel(value ="登记记录表")
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("REGISTER_RECORD")
public class RegisterRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id")
    private String id;

    @ApiModelProperty(value = "操作人")
    @ExcelProperty(value = "EXECUTION_NAME")
    @TableField("EXECUTION_NAME")
    private String executionName;

    @ApiModelProperty(value = "创建时间")
    @ExcelProperty(value = "CRATE_TIME")
    @TableField("CRATE_TIME")
    private LocalDateTime crateTime;

    @ApiModelProperty(value = "操作人工号")
    @ExcelProperty(value = "EXECUTION_EMPLOYEE")
    @TableField("EXECUTION_EMPLOYEE")
    private String executionEmployee;

    @ApiModelProperty(value = "操作的数据主键")
    @ExcelProperty(value = "PRE_ID")
    @TableField("PRE_ID")
    private String preId;

    @ApiModelProperty(value = "0:未操作  1:已操作")
    @ExcelProperty(value = "STATE")
    @TableField("STATE")
    private String state;

}
